#ifndef OBJECTMANAGER_H_
#define OBJECTMANAGER_H_

#include <vector>
#include "../SLList.h"
//Testing
#include "ObjectFactory.h"

using std::vector;

class CBaseObject;

class CObjectManager
{
private:
	
	CObjectManager();

	~CObjectManager()
	{

	}
	
	/////////////////
	//vector of objects
	vector<CBaseObject*> m_VectorSpheres;

	SLList<CBaseObject*> ListRender;


public:

	static CObjectManager* GetInstance()
	{
		static CObjectManager pInstance;
		return &pInstance;
	}
	
	void Initialize();
	void Shutdown();

	SLList<CBaseObject*> CreateListForRender();
	void Update(float fDT);

};

#endif